package com.xiaohui.controller;


import com.xiaohui.utils.MinioUtils;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.io.File;

public class FileRunner {


    public static void main(String[] args) throws Exception {
        FileMonitor fileMonitor = new FileMonitor(1000);
        fileMonitor.monitor("E:\\不常用软件合集", new FileListener());
        fileMonitor.start();
    }

}
